package com.neu.flashmall.product.service;

import com.github.pagehelper.PageInfo;
import com.neu.flashmall.product.entity.PmsBrand;

import java.util.List;

public interface PmsBrandService {
    PageInfo<PmsBrand> getPaged(int pageNum, int pageSize);

    List<PmsBrand> selectAll();

    boolean checkBrandName(String name);

    int updateLogo(PmsBrand pmsBrand);

    Long insert(PmsBrand pmsBrand);

    int update(PmsBrand pmsBrand);

    int delete(long id);

    String setHot(Long id,int hot);

    List<PmsBrand> getHot();

    PmsBrand getOneById(Long id);

}
